Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / NotifyCollectionBase<T> Class / Remove Method
The item to remove from the collection.


In This Topic
    Remove Method (NotifyCollectionBase<T>)
    In This Topic
    Removes the specified item from the collection.
    Syntax
    'Declaration
     
    Public Overridable Function Remove( _
       ByVal item As T _
    ) As Boolean
    'Usage
     
    Dim instance As NotifyCollectionBase(Of T)
    Dim item As T
    Dim value As Boolean
     
    value = instance.Remove(item)
    public virtual bool Remove( 
       T item
    )

    Parameters

    item
    The item to remove from the collection.

    Return Value

    true if the item is successfully removed; otherwise, false.
    Exceptions
    ExceptionDescription
    The collection is read-only.
    See Also